﻿<?xml version="1.0" encoding="utf-8" ?>
<Recipe Name="CreateSolution" xmlns="http://schemas.microsoft.com/pag/gax-core"
                               xmlns:xi="http://www.w3.org/2001/XInclude" Bound="true">
  <xi:include href="../Common/CommonTypeAliases.xml"
				xpointer="xmlns(gax=http://schemas.microsoft.com/pag/gax-core) xpointer(/gax:Types)" />
  <Caption>Create a new VS Package solution</Caption>
  <Description>Create a new VS Package solution</Description>
  <Arguments>
    <xi:include href="../Common/CommonArguments.xml"
					  xpointer="xmlns(gax=http://schemas.microsoft.com/pag/gax-core) xpointer(/gax:Arguments/gax:Argument)" />
    <Argument Name="ApplicationNameArgument">
      <ValueProvider Type="Evaluator"
              Expression="$(SolutionArgument.Properties.Item('Name').Value)"
              Stage="OnBeginRecipe">
      </ValueProvider>
    </Argument>
    <Argument Name="VSPackageProjectName">
      <Converter Type="VSSDKAssist.Assets.Converters.ValidFileNameConverter, VSSDKAssist.Assets"/>
      <ValueProvider Type="Evaluator"
                     Expression="$(ApplicationNameArgument)"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="PackageProject" Type="EnvDTE.Project, EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
      <Converter Type="ProjectConverter" />
      <ValueProvider
        Type="VSSDKAssist.Assets.ValueProviders.VisualStudio.ProjectByPathExpressionProvider, VSSDKAssist.Assets"
        PathExpression="$(VSPackageProjectName)"
        Stage="OnBeforeActions"/>
    </Argument>
    <Argument Name="ProjectPath" Required="true">
      <ValueProvider Type="VSSDKAssist.Assets.ValueProviders.VisualStudio.ProjectPathValueProvider, VSSDKAssist.Assets"
                     ProjectArgument="PackageProject"
                     Stage="OnBeforeActions"/>
    </Argument>
    <Argument Name="CsProjFileName" Required="true">
      <ValueProvider Type="Evaluator"
                     Expression="$(ProjectPath)\$(VSPackageProjectName).csproj.user"
                     Stage="OnBeforeActions"/>
    </Argument>
    <Argument Name="PackageFolder" Type="EnvDTE.ProjectItem, EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
      <Converter Type="ProjectItemConverter" />
      <ValueProvider
        Type="VSSDKAssist.Assets.ValueProviders.VisualStudio.ProjectItemByNameValueProvider, VSSDKAssist.Assets"
        ProjectArgument="PackageProject"
        ItemName="Package"
        Stage="OnBeforeActions"/>
    </Argument>
    <Argument Name="BitmapDestinationFolder" Type="EnvDTE.ProjectItem, EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
      <Converter Type="ProjectItemConverter" />
      <ValueProvider
        Type="VSSDKAssist.Assets.ValueProviders.VisualStudio.ProjectItemByNameValueProvider, VSSDKAssist.Assets"
        ProjectArgument="PackageProject"
        ItemName="Resources"
        Stage="OnBeforeActions"/>
    </Argument>
    <Argument Name="ResxProjectItem" Type="EnvDTE.ProjectItem, EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
      <Converter Type="ProjectItemConverter" />
      <ValueProvider
        Type="VSSDKAssist.Assets.ValueProviders.VisualStudio.ProjectItemByNameValueProvider, VSSDKAssist.Assets"
        ProjectArgument="PackageProject"
        ItemName="VsPackage.resx"
        Stage="OnBeforeActions"/>
    </Argument>
    <Argument Name="VSPackageCodeClass" Type="EnvDTE.CodeClass, EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Required="true">
      <ValueProvider
        Type="VSSDKAssist.Assets.ValueProviders.VisualStudio.ProjectItemCodeClassValueProvider, VSSDKAssist.Assets"
        ProjectArgument="PackageProject"
        TypeName="VsPackage"
        Stage="OnBeforeActions"/>
    </Argument>
    <Argument Name="PkgCompanyName" Required="true">
      <ValueProvider Type="Evaluator"
                     Expression="My Company"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="PackageName" Required="true">
      <ValueProvider Type="Evaluator"
                     Expression="My Package"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="PackageVersion" Required="true">
      <ValueProvider Type="Evaluator"
                     Expression="1.0"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="VSEdition" Required="true">
      <ValueProvider Type="VSSDKAssist.Recipes.Common.ValueProviders.DefaultVSEditionValueProvider, VSSDKAssist"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="PlkResourceId" Required="true">
      <ValueProvider Type="VSSDKAssist.Assets.ValueProviders.Framework.RandomNumberValueProvider, VSSDKAssist.Assets"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="BitmapFileName" Required="true">
      <ValueProvider Type="VSSDKAssist.Recipes.Common.ValueProviders.EmptyIconValueProvider, VSSDKAssist"
                     ImageSize="Size32x32"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="BitmapResourceId" Required="true">
      <ValueProvider Type="VSSDKAssist.Assets.ValueProviders.Framework.RandomNumberValueProvider, VSSDKAssist.Assets"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="PackageProductDetails" Required="true">
      <ValueProvider Type="Evaluator"
                     Expression="My package detailed information"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="ProductNameResourceId" Required="true">
      <ValueProvider Type="VSSDKAssist.Assets.ValueProviders.Framework.RandomNumberValueProvider, VSSDKAssist.Assets"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="ProductDetailsResourceId" Required="true">
      <ValueProvider Type="VSSDKAssist.Assets.ValueProviders.Framework.RandomNumberValueProvider, VSSDKAssist.Assets"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="ProductVersionResourceId" Required="true">
      <ValueProvider Type="VSSDKAssist.Assets.ValueProviders.Framework.RandomNumberValueProvider, VSSDKAssist.Assets"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="PackageGuid" Type="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Required="true">
      <ValueProvider Type="VSSDKAssist.Assets.ValueProviders.Framework.GuidValueProvider, VSSDKAssist.Assets"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="PackageCmdSetGuid" Type="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Required="true">
      <ValueProvider Type="VSSDKAssist.Assets.ValueProviders.Framework.GuidValueProvider, VSSDKAssist.Assets"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="DevEnvPath" Required="true">
      <ValueProvider Type="VSSDKAssist.Recipes.Common.ValueProviders.DevEnvPathValueProvider, VSSDKAssist"
                     Stage="OnBeginRecipe"/>
    </Argument>
  </Arguments>
  <GatheringServiceData>
    <Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0">
      <Pages>
        <Page Type="VSSDKAssist.Recipes.CreateSolution.CreateSolutionCP1, VSSDKAssist"
              Height="200" Width="510">
          <Title>Specify VS Package Solution properties</Title>
          <LinkTitle>VS Package Solution properties</LinkTitle>
        </Page>
        <Page Type="VSSDKAssist.Recipes.CreateSolution.CreateSolutionCP2, VSSDKAssist"
            Height="200" Width="510">
          <Title>Specify VS Package information</Title>
          <LinkTitle>VS Package information</LinkTitle>
        </Page>
      </Pages>
    </Wizard>
  </GatheringServiceData>
  <xi:include href="../Common/CreateSolution.xml" xpointer="xmlns(gax=http://schemas.microsoft.com/pag/gax-core) xpointer(gax:Recipe/gax:Actions)" />
</Recipe>